<% form_for @output, :html => { :multipart => true } do |f| %>
  <h1>New Output Module</h1>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :class_name %> <br />
    <%= f.text_field :class_name %>
  </p>
  <p>
    <%= f.label :code %><br />
    <%= f.file_field :code %>
  </p>
  <p>
    <%= f.submit 'Add' %>
  </p>
  <%= link_to 'Cancel', developers_path %>
<% end %>